package com.revenant.driver.bean.Driver;

import java.util.List;

/**
 * @ProjectName: Driver
 * @Package: com.revenant.driver.bean.Driver
 * @ClassName: LianWangBen
 * @Description: java类作用描述
 * @Author: Revenant
 * @CreateDate: 2020-02-07 19:16
 * @UpdateUser: 更新者
 * @UpdateDate: 2020-02-07 19:16
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class LianWangBen {

    /**
     * code : 0
     * msg : SUCCESS
     * sign : null
     * timestamp : 0
     * data : {"total":11,"result":[{"id":1,"setOutProvince":"辽宁","setOutCity":"沈阳","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"西藏","destCounty":"","info":"","id2":-1,"ctype":"普货"},{"id":2,"setOutProvince":"黑龙江","setOutCity":"哈尔滨","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":3,"setOutProvince":"湖北","setOutCity":"武汉","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":4,"setOutProvince":"内蒙古","setOutCity":"包头","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":5,"setOutProvince":"广东","setOutCity":"中山","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":6,"setOutProvince":"山东","setOutCity":"临沂","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":7,"setOutProvince":"河北","setOutCity":"承德","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":8,"setOutProvince":"河南","setOutCity":"开封","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":9,"setOutProvince":"湖南","setOutCity":"南阳","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":10,"setOutProvince":"四川","setOutCity":"成都","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"}],"pageNum":1,"pageSize":10,"pages":2,"size":10}
     */

    private String code;
    private String   msg;
    private Object   sign;
    private int      timestamp;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getSign() {
        return sign;
    }

    public void setSign(Object sign) {
        this.sign = sign;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 11
         * result : [{"id":1,"setOutProvince":"辽宁","setOutCity":"沈阳","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"西藏","destCounty":"","info":"","id2":-1,"ctype":"普货"},{"id":2,"setOutProvince":"黑龙江","setOutCity":"哈尔滨","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":3,"setOutProvince":"湖北","setOutCity":"武汉","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":4,"setOutProvince":"内蒙古","setOutCity":"包头","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":5,"setOutProvince":"广东","setOutCity":"中山","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":6,"setOutProvince":"山东","setOutCity":"临沂","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":7,"setOutProvince":"河北","setOutCity":"承德","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":8,"setOutProvince":"河南","setOutCity":"开封","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":9,"setOutProvince":"湖南","setOutCity":"南阳","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"},{"id":10,"setOutProvince":"四川","setOutCity":"成都","setOutCounty":"","sendtime":"2020-02-02 17:53:51","destinationProvince":"目的地","destinationCity":"山东","destCounty":"","info":"","id2":1,"ctype":"普货"}]
         * pageNum : 1
         * pageSize : 10
         * pages : 2
         * size : 10
         */

        private int total;
        private int              pageNum;
        private int              pageSize;
        private int              pages;
        private int              size;
        private List<ResultBean> result;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            /**
             * id : 1
             * setOutProvince : 辽宁
             * setOutCity : 沈阳
             * setOutCounty :
             * sendtime : 2020-02-02 17:53:51
             * destinationProvince : 目的地
             * destinationCity : 西藏
             * destCounty :
             * info :
             * id2 : -1
             * ctype : 普货
             */

            private int id;
            private String setOutProvince;
            private String setOutCity;
            private String setOutCounty;
            private String sendtime;
            private String destinationProvince;
            private String destinationCity;
            private String destCounty;
            private String info;
            private int    id2;
            private String ctype;

            public String getPhonenumber() {
                return phonenumber;
            }

            public void setPhonenumber(String phonenumber) {
                this.phonenumber = phonenumber;
            }

            private String phonenumber;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getSetOutProvince() {
                return setOutProvince;
            }

            public void setSetOutProvince(String setOutProvince) {
                this.setOutProvince = setOutProvince;
            }

            public String getSetOutCity() {
                return setOutCity;
            }

            public void setSetOutCity(String setOutCity) {
                this.setOutCity = setOutCity;
            }

            public String getSetOutCounty() {
                return setOutCounty;
            }

            public void setSetOutCounty(String setOutCounty) {
                this.setOutCounty = setOutCounty;
            }

            public String getSendtime() {
                return sendtime;
            }

            public void setSendtime(String sendtime) {
                this.sendtime = sendtime;
            }

            public String getDestinationProvince() {
                return destinationProvince;
            }

            public void setDestinationProvince(String destinationProvince) {
                this.destinationProvince = destinationProvince;
            }

            public String getDestinationCity() {
                return destinationCity;
            }

            public void setDestinationCity(String destinationCity) {
                this.destinationCity = destinationCity;
            }

            public String getDestCounty() {
                return destCounty;
            }

            public void setDestCounty(String destCounty) {
                this.destCounty = destCounty;
            }

            public String getInfo() {
                return info;
            }

            public void setInfo(String info) {
                this.info = info;
            }

            public int getId2() {
                return id2;
            }

            public void setId2(int id2) {
                this.id2 = id2;
            }

            public String getCtype() {
                return ctype;
            }

            public void setCtype(String ctype) {
                this.ctype = ctype;
            }
        }
    }
}
